package com.smen.boot.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @author Smen Lee
 * @PROJECT_NAME myspringboot
 * @TIME 2016/12/29 11:10
 */
@RestController
@RequestMapping("/test")
@EnableSwagger2
public class SwaggerBootController {
    @RequestMapping(value = "/hello")
    public String test(){
        return "Hello Spring-boot ; Hello Swagger";
    }
}
